package com.golden.order02.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OrderHisItemDO extends BaseDO implements Serializable{
  
	private Integer itemID;

    
    private Integer orderID;

   
    private Integer orderSalesID;

    
    private Integer orderHisSessionID;

   
    private Integer productID;

   
    private Integer categoryID;

   
    private Integer PNum;

    
    private Integer oQuant;

   
    private Integer aQuant;

    
    private Integer oRegisterQuant;

   
    private Integer aRegisterQuant;

    
    private BigDecimal price=new BigDecimal(0);

    
    private BigDecimal cost=new BigDecimal(0);

    
    private BigDecimal registerPrice=new BigDecimal(0);

   
    private BigDecimal registerCost=new BigDecimal(0);

    
    private String remark="";

    
    private Integer employeeID;

    
    private Date createTime;

    
    private Integer pProductID; //替换前的HisItemDO

    
    private Integer isFree;

    
    private Integer isReplace;

    
    private Integer isAdd;

    
    private Integer type;

    private ProductDO product;
    
    private ServiceDO service;
    
    
    private String serviceName;//商品名称
    
    private String productName;//商品名称
    
    /**
     * 分类名称
     */
    private String categoryName;
    
    
    //状态
  	private Integer status;
  	
  	 /**
     * 单位
     */
    private String unit;
    /**
     * 
     */
    private Integer PArea;
    
    
    private Integer sort;
    
    private Integer sessionID; //分组id
    
    private Integer count;
    
    private Integer num;
    
    
    

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
			this.num = num;
	}


	public Integer getCount() {
		return count;
	}


	public void setCount(Integer count) {
			this.count = count;
	}


	public Integer getSessionID() {
		return sessionID;
	}


	public void setSessionID(Integer sessionID) {
		this.sessionID = sessionID;
	}


	public Integer getSort() {
		return sort;
	}


	public void setSort(Integer sort) {
		this.sort = sort;
	}


	public String getServiceName() {
		return serviceName;
	}


	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}


	public String getProductName() {
		return productName;
	}


	public void setProductName(String productName) {
		this.productName = productName;
	}


	public String getCategoryName() {
		return categoryName;
	}


	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}


	public Integer getStatus() {
		return status;
	}


	public void setStatus(Integer status) {
		this.status = status;
	}


	public String getUnit() {
		return unit;
	}


	public void setUnit(String unit) {
		this.unit = unit;
	}


	public Integer getPArea() {
		return PArea;
	}


	public void setPArea(Integer pArea) {
		PArea = pArea;
	}


	public ProductDO getProduct() {
		return product;
	}


	public void setProduct(ProductDO product) {
		this.product = product;
	}


	public ServiceDO getService() {
		return service;
	}


	public void setService(ServiceDO service) {
		this.service = service;
	}


	public Integer getItemID() {
		return itemID;
	}


	public void setItemID(Integer itemID) {
		this.itemID = itemID;
	}


	public Integer getOrderID() {
		return orderID;
	}


	public void setOrderID(Integer orderID) {
		this.orderID = orderID;
	}


	public Integer getOrderSalesID() {
		return orderSalesID;
	}


	public void setOrderSalesID(Integer orderSalesID) {
		this.orderSalesID = orderSalesID;
	}


	public Integer getOrderHisSessionID() {
		return orderHisSessionID;
	}


	public void setOrderHisSessionID(Integer orderHisSessionID) {
		this.orderHisSessionID = orderHisSessionID;
	}


	public Integer getProductID() {
		return productID;
	}


	public void setProductID(Integer productID) {
		this.productID = productID;
	}


	public Integer getCategoryID() {
		return categoryID;
	}


	public void setCategoryID(Integer categoryID) {
		this.categoryID = categoryID;
	}


	public Integer getPNum() {
		return PNum;
	}


	public void setPNum(Integer pNum) {
		PNum = pNum;
	}


	public Integer getoQuant() {
		return oQuant;
	}


	public void setoQuant(Integer oQuant) {
		this.oQuant = oQuant;
	}


	public Integer getaQuant() {
		return aQuant;
	}


	public void setaQuant(Integer aQuant) {
		this.aQuant = aQuant;
	}


	public Integer getoRegisterQuant() {
		return oRegisterQuant;
	}


	public void setoRegisterQuant(Integer oRegisterQuant) {
		this.oRegisterQuant = oRegisterQuant;
	}


	public Integer getaRegisterQuant() {
		return aRegisterQuant;
	}


	public void setaRegisterQuant(Integer aRegisterQuant) {
		this.aRegisterQuant = aRegisterQuant;
	}


	public BigDecimal getPrice() {
		return price;
	}


	public void setPrice(BigDecimal price) {
		this.price = price;
	}


	public BigDecimal getCost() {
		return cost;
	}


	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}


	public BigDecimal getRegisterPrice() {
		return registerPrice;
	}


	public void setRegisterPrice(BigDecimal registerPrice) {
		this.registerPrice = registerPrice;
	}


	public BigDecimal getRegisterCost() {
		return registerCost;
	}


	public void setRegisterCost(BigDecimal registerCost) {
		this.registerCost = registerCost;
	}


	public String getRemark() {
		if(remark==null) {
			
			return "";
		}else {
			
			return remark;
		}
		
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public Integer getEmployeeID() {
		return employeeID;
	}


	public void setEmployeeID(Integer employeeID) {
		this.employeeID = employeeID;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Integer getpProductID() {
		return pProductID;
	}


	public void setpProductID(Integer pProductID) {
		this.pProductID = pProductID;
	}


	public Integer getIsFree() {
		return isFree;
	}


	public void setIsFree(Integer isFree) {
		this.isFree = isFree;
	}


	public Integer getIsReplace() {
		return isReplace;
	}


	public void setIsReplace(Integer isReplace) {
		this.isReplace = isReplace;
	}


	public Integer getIsAdd() {
		return isAdd;
	}


	public void setIsAdd(Integer isAdd) {
		this.isAdd = isAdd;
	}


	public Integer getType() {
		return type;
	}


	public void setType(Integer type) {
		this.type = type;
	}


	@Override
	public String toString() {
		return "OrderHisItemDO [itemID=" + itemID + ", orderID=" + orderID + ", orderSalesID=" + orderSalesID
				+ ", orderHisSessionID=" + orderHisSessionID + ", productID=" + productID + ", categoryID=" + categoryID
				+ ", PNum=" + PNum + ", oQuant=" + oQuant + ", aQuant=" + aQuant + ", oRegisterQuant=" + oRegisterQuant
				+ ", aRegisterQuant=" + aRegisterQuant + ", price=" + price + ", cost=" + cost + ", registerPrice="
				+ registerPrice + ", registerCost=" + registerCost + ", remark=" + remark + ", employeeID=" + employeeID
				+ ", createTime=" + createTime + ", pProductID=" + pProductID + ", isFree=" + isFree + ", isReplace="
				+ isReplace + ", isAdd=" + isAdd + ", type=" + type + "]";
	}

    
}